﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SetSystem/SetSystem.master" AutoEventWireup="true" CodeBehind="TchManage.aspx.cs" Inherits="Web.SetSystem.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<li><a href="StuManage.aspx">密码设置</a></li>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#6666FF"> 
<br />        
 
    <table>
        <tr>
            <td>
                <asp:Label ID="Label_oldpsw" runat="server" CssClass="ContentLabel" Text="旧密码:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Tbx_oldpsw" runat="server" CssClass="ContentTextBox" 
                    TextMode="Password"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Tbx_oldpsw" ErrorMessage="密码不能为空" ValidationGroup="vg_chpsw">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
               <asp:Label ID="Lbl_psw" runat="server" CssClass="ContentLabel" Text="新密码:"></asp:Label></td>
            <td>
                <asp:TextBox ID="Tbx_newpsw" runat="server" CssClass="ContentTextBox" 
                        TextMode="Password" ></asp:TextBox></td>
            <td>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="Tbx_newpsw" ErrorMessage="密码不能为空" 
                        ValidationGroup="vg_chpsw">*</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="Tbx_confirmpsw" ControlToValidate="Tbx_newpsw" 
                    ErrorMessage="密码不一致" ValidationGroup="vg_chpsw">*</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>
                    <asp:Label ID="Lbl_confirmpsw" runat="server" CssClass="ContentLabel" 
                        Text="确认新密码:"></asp:Label>
            </td>
            <td>
                    <asp:TextBox ID="Tbx_confirmpsw" runat="server" CssClass="ContentTextBox" 
                        TextMode="Password" ></asp:TextBox>
            </td>
            <td>
                <asp:ImageButton ID="ImgBut_updatepsw" runat="server" 
                    ImageUrl="~/img/Control/EditPSW.gif" onclick="ImgBut_updatepsw_Click" 
                    ValidationGroup="vg_chpsw" />
                </td>
        </tr>
    </table>
    <asp:Label ID="Label_result" runat="server" Text="" CssClass="Label_ReturnInfo"></asp:Label>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="vg_chpsw" Font-Size="Small" />
    </asp:Panel>
</asp:Content>
